package com.example.mymatch.service;

import com.example.mymatch.model.Leave;

import java.util.List;

/**
 * 对服务接口规范的方法实现
 * 编写者：杨滢
 */

public interface ILeaveService {
    //服务层接口
    int insertLeave(Leave leave);

    //查询所有数据
    List<Leave> getAllLeave(Leave leave);

    //更新打卡数据
    int updateLeave(Leave leave);

    //删除打卡数据
    int deleteLeave(Leave leave);

    //根据主键查询信息*
    Leave getLeave(Leave leave);
}
